import request from "@/utils/request";

export function login(data) {
  return request({
    url: "/index/login",
    method: "POST",
    data,
  });
}

export function getInfo() {
  return request({
    url: "/index/userinfo",
    method: "POST",
  });
}
